//
//  GoogleMapShow.h
//  GoogleMapDemo
//
//  Created by Acme on 2/23/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MapKit/MapKit.h>
#import <MapKit/MKMapView.h>
#import <MapKit/MKAnnotation.h>
#import <MapKit/MKAnnotationView.h>
#import <CoreLocation/CoreLocation.h>
#import "BridgeAnnotation.h"

@interface MapViewCtrl : UIViewController<MKMapViewDelegate,CLLocationManagerDelegate> {
	MKMapView			*map;
	CLLocationManager   *locmanager; 
	float map_lat,map_lng;
	float loc_lat,loc_lng;
    BOOL is_edit;
    BridgeAnnotation *pioAnn;
}

@property (nonatomic,retain)IBOutlet MKMapView *map;
@property float map_lat;
@property float map_lng;
@property float loc_lat;
@property float loc_lng;
@property BOOL is_edit;
			
- (IBAction)gotoMyLocation:(id)sender;
//- (MKAnnotationView *)mapView:(MKMapView *)mV viewForAnnotation:(id <MKAnnotation>)annotation;
- (void)mapView:(MKMapView *)mapView regionDidChangeAnimated:(BOOL)animated;
//- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;

-(void)actMapDone:(id)sender;

@end
